package com.yunji.cabinet.business;

import com.yunji.cabinet.params.UpgradeInfoParam;
import com.yunji.cabinet.service.IUpgradeInfoService;
import com.yunji.cabinet.vo.UpgradeInfoVO;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;
import java.util.List;

@Component
public class UpgradeInfoBusiness {

    @Resource
    private IUpgradeInfoService upgradeInfoService;

    public List<UpgradeInfoVO> search(UpgradeInfoParam param) {
        return upgradeInfoService.searchPageList(param);
    }
}
